create an indicator based on values in chart js